package vn.edu.saigontech.ncms.util;

public class StringUtil {
	
	public static boolean match(String text, String patterns) {
		String[] tokens = patterns.split(",");
		for(String token : tokens) {
			if(text.matches(token)) {
				return true;
			}
		}
		return false;
	}
}